package com.shop.cloud.model.request;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.shop.cloud.model.request.RestfulRequest;

import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * @author Alex
 */
@ToString(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class EditSysUserRequest extends RestfulRequest {

    private static final long serialVersionUID = -3286520204644035655L;
    
    @JsonProperty("id")
    @ApiModelProperty(value = "", example = "", required = true)
    private String id;

    @JsonProperty("fullname")
    @ApiModelProperty(value = "", example = "", required = true)
    private String fullname;
    
    @JsonProperty("username")
    @ApiModelProperty(value = "", example = "", required = true)
    private String username;
    
    @JsonProperty("password")
    @ApiModelProperty(value = "", example = "", required = true)
    private String password;
    
    @JsonProperty("position")
    @ApiModelProperty(value = "", example = "", required = true)
    private String position;
    
    @JsonProperty("role")
    @ApiModelProperty(value = "", example = "", required = true)
    private String role;

	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public String getRole() {
		return role;
	}

	public void setRole(String role) {
		this.role = role;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getFullname() {
		return fullname;
	}

	public void setFullname(String fullname) {
		this.fullname = fullname;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}
}
